package com.bee.web.util;

import org.apache.ibatis.session.RowBounds;

public class Page extends RowBounds {

	private int offset;
	
	private int limit;
	
	public Page(int page, int rows) {
		this.offset = (page - 1) * rows;
		this.limit = rows;
	}

	public int getOffset() {
		return offset;
	}

	public int getLimit() {
		return limit;
	}
}
